package com.scoressystem.service;

import com.scoressystem.pojo.Student;

import java.util.List;
import java.util.Map;


public interface StudentService {

    List<Student> selectAllStudentsByPage(Map<String, Object> map);

    long selectAllStudentsCount(Map<String, Object> map);

    int deleteStudentById(Integer studentNo);

    List<Student> getAllStudentsBySname(String studentName);

    int updateStudent(Student student);

    int addStudent(Student student);

    Student getStudentById(Integer studentNo);

    Student getStudentByUser(Integer studentNo,String studentPwd);

    int updateStudentPass(Integer studentNo, String studentPwd);
}
